|
Author |
Thread Statistics | Show CCP posts - 4 post(s) |
Michael Bone
Dromedaworks inc Test Alliance Please Ignore
0
|
Posted - 2015.02.11 14:45:34 -
[1] - Quote
Last time I had an active sub, I thought to myself "Wow! Wouldn't it be great if I could just hit a button and log in? No Muss, no fuss?" Of course the eve launcher is nice. but you have to re-authenticate every 12 hours iirc.
Well, after about fourteen hours dissecting the authentication communications over https out of the lawnchair, I've come up with a beta. This will automagically log your account in without needing to type anything in except the first time.
Credentials are stored encrypted as a powershell secure string meaning they can't be decrypted except on the computer and only the user profile that created them.
As for the response from CCP....well you never know. This isn't any more third party program use than launching multiple eve clients with a batch file or powershell. It never interfaces with the client, only passes a sso token at start, exactly the way the lawnchair does it. Let's hope they don't ban us all (especially me, I'm too young to get podded!) and at least just remove this thread if they have an issue with it.
Just pop this into a text file, name it autologin.ps1 or something and put it in a folder preferably in my documents. On first run, it will ask for your eve credentials. If you mess up, just delete the encrypted.dat file and it will ask you again.
Anyway, without further ado here's the code.
http://www.mediafire.com/download/otr3m9w8188im8p
As for maliciousness...just read the damn code. No accusations, please.
PLEASE post back any problems. this is only the beta of the script. |
Michael Bone
Dromedaworks inc Test Alliance Please Ignore
1
|
Posted - 2015.02.11 19:28:22 -
[2] - Quote
Then it should automatically start eve and log you in. if it didnt, it may not have been able to find your eve install from the registry or something else. please uncomment the write-output lines and pm me the output. |
Michael Bone
Dromedaworks inc Test Alliance Please Ignore
2
|
Posted - 2015.02.12 02:26:08 -
[3] - Quote
Faby Rasputin wrote:This has already been done a long time ago. Sorry you didn't do any research before wasting your time. RLEL ( Rapid Light Eve Launcher ) https://github.com/Frostbite/rlel
I googled "Eve auto login" and similar queries and that didn't make it into the first three pages.
That being said, 1) anyone who uses that has to trust whoever compiled it, whereas this is a script anyone can read and 2) I prefer the encryption scheme used by this script to secure the user's password, and finally 3) multiple options in software is never, ever a bad thing.
If I still had a cyno alt I'd probably look into using that, thanks for the link...not so much the condescension. |
Michael Bone
Dromedaworks inc Test Alliance Please Ignore
2
|
Posted - 2015.02.12 04:51:58 -
[4] - Quote
Rain6637 wrote:Sort of. That program assumes I use the same directory for all accounts, which would break a lot of things.
Michael, I think this is a worthwhile exercise of your skills, and I hope you continue.
Don't mind Faby. If that's how snarky they get over this, I wonder how they get over important matters.
Thanks for your support.
http://www.mediafire.com/download/h469r8crb0jc7j1 (beta2)
Try that. Just drop it into the main eve directory in each install.
(there should be a \bin folder inside the folder you put that in) |
Michael Bone
Dromedaworks inc Test Alliance Please Ignore
4
|
Posted - 2015.02.12 05:52:08 -
[5] - Quote
Rain6637 wrote:Hey, it worked. Once. I put it in the install directory (normally EVE\ ), because it didn't respond in \bin\. NES worked and everything. I closed the client to try it again, and it has been unresponsive.
I put another copy of the virgin ps1 file in another install directory, and it won't bring up the credentials box anymore. It closes after flashing some red text, too fast for me to read.
I'm using Windows 8.1 64bit open up powershell (windows key, then type in powershell)
type in cd C:\eve\game\folder (path to your game folder) and hit enter
type in ./eve_autologin_beta2.ps1 and hit enter.
let me know what error it gives (I bet I know)
just dont paste anything with your auth token here. |
Michael Bone
Dromedaworks inc Test Alliance Please Ignore
5
|
Posted - 2015.02.12 05:57:44 -
[6] - Quote
Rain6637 wrote:Yeah I tried that, I just don't know how to make it navigate into/past Program Files (x86)\, it gives me an error message about (x86) being invalid. http://i.imgur.com/XrTRheU.png
Ahh. enclose the path in quotes.
"C:\Program Files (x86)\EVE6389\"
Unrelated: why am I getting a message telling me my account is less than two days old and I have to wait to post a message? /grumble |
Michael Bone
Dromedaworks inc Test Alliance Please Ignore
5
|
Posted - 2015.02.12 06:23:41 -
[7] - Quote
Rain6637 wrote:first forum visit was yesterday lol. brb. K, so I set my execution policy to Unrestricted, and it worked consistently when launched from this Administrator Powershell window. I still had confirmations, so I set the execution policy to Bypass, and the confirmations went away. Worked consistently from the Administrator Powershell window. But double clicking the ps1 file in the install directory is still unresponsive. That Powershell window keeps closing before I can see what's going on.
You have to run it as admin because you are trying to save a file (the encrypted key) to the directory with it, and program files is a read only dir to user level accounts. My guss is that its errorng out because clicking it in the directory runs it as user, not admin.
make a shortcut to it on desktop and follow these instructions to make it always run as admin. 2. Right-click the applicationGÇÖs shortcut, and then click Properties. 3. In the Properties dialog box, click the Compatibility tab. 4. Do one of the following:
To apply the setting to the currently logged-on user, select the Run This Program As An Administrator check box, and then click OK. To apply the setting to all users on the computer and regardless of which shortcut is used to start the application, click Change Setting For All Users to display the Properties dialog box for the applicationGÇÖs .exe file, select the Run This Program As An Administrator check box, and then click OK twice.
also try double clicking it in one of the eve installs you have that is on a different drive. I bet it will work there. |
Michael Bone
Dromedaworks inc Test Alliance Please Ignore
7
|
Posted - 2015.02.12 17:18:42 -
[8] - Quote
Faby Rasputin wrote:Michael Bone wrote:1) anyone who uses that has to trust whoever compiled it, whereas this is a script anyone can read and I linked you to a github.. with the source code... w/e
Sure. However, better than 90% end users can't/don't compile from sauce so they have to use a precompiled binary and take the makers word that it hasn't been tampered or changed...and that has happened. Google it. Clean source, infected official binaries. |
Michael Bone
Dromedaworks inc Test Alliance Please Ignore
8
|
Posted - 2015.02.13 01:58:07 -
[9] - Quote
Rain6637 wrote:You sir have a PLEX coming your way. you've just improved my login experience 1,000% This is glorious do you know what it's like to have ten launchers open, even if I have a G-Key bound to password+ENTER. One thing that is always true for me is, any type of optimization for one client translates into a ten-fold benefit.
Hey, thanks! Didn't see it, was at work. |
Michael Bone
Dromedaworks inc Test Alliance Please Ignore
9
|
Posted - 2015.02.13 04:33:39 -
[10] - Quote
Rain6637 wrote:Make this thing handle updates and I'll send you another lol
If this handled updates it'd be just as bad as the eve launcher, because it would update when you tried to run eve, not when they are first pushed.
I could make something that checks for updates as a windows service, like the adobe or google chrome updater services, but that would be a compiled exe.
I could also set this script so that if it is launched with the /update argument, it will check for an update at then do nothing if there isnt one. that way it could be run at intervals by the task scheduler in windows, or manually. |
|
Michael Bone
Dromedaworks inc Test Alliance Please Ignore
11
|
Posted - 2015.05.19 19:38:42 -
[11] - Quote
Updated. Please download the new version, it's much more reliable.
EDIT: Oh, and I'm testing out letting it handle client updates. The new sharedcache feature should simplify this. |
Michael Bone
Dromedaworks inc Test Alliance Please Ignore
13
|
Posted - 2015.05.26 22:32:54 -
[12] - Quote
Alyla By wrote:@Michael Bone : Thank you very much for providing such a tool. After login with the launcher once to check the "Don't ask again" box for my accounts regarding the character name Challenge, I was able to create without any problems the shortcuts needed for my accounts While I am not an expert in Powershell I was able to read and understand your script, checking it 3 times to see if there was anything suspicious. Since your remote calls are only to eveonline.com, I believe I may be relatively safe Your script rox :D Here is a small example on how it looks on my start screen : http://eve.laby.fr/lnk.png Each tile puts me directly in the character selection. Extremely convenient and quite pleasing visually :)
Thanks! Yes, believe me - the ISD or CCP Dev who have commented would most definitely nailed this if it was malicious.
That's a slick screenshot ;) |
Michael Bone
Dromedaworks inc Test Alliance Please Ignore
13
|
Posted - 2015.05.28 14:44:11 -
[13] - Quote
Herr Esiq wrote:I still have problems with line 226 in RC2.
Seems to be stuck at: $token=$substr.substring($substr.indexof("access_token=")+13, 87). InvalidOperation: (:) [], RuntimeException. I tried adjusting the variables there but cannot get it to work.
EVE returns: "The authentication token provided by the launcher is of an invalid format. Please try again or contact EVE customer support."
Running Win 8.1.
An error there means that it successfully sent something to the server and the server rejected it. There are two possible issues: 1) you entered your login information incorrectly, or 2) it is trying to character name challenge you. Check with the official eve launcher and enter your character name. |
Michael Bone
Dromedaworks inc Test Alliance Please Ignore
13
|
Posted - 2015.06.03 03:17:21 -
[14] - Quote
Salvoxia wrote:Herr Esiq wrote: I kind of thought about that and launched the game with the launcher beforehand. Unfortunately it did not namechallange me. I'll update if/when I find something that might be the issue.
Hi, in the launcher you can choose not to be name challenged again. I noticed that If you tick that checkbox, the launcher won't name challenge you again, but when using the auto login script it will now always challenge you (making it useless for the account you disabled the name challenge in the launcher for). Perhaps knowing this helps? Regards, Salvoxia
That's interesting. I checked the [ ] Never Ask Again box and it has never asked again from the two IPs I commonly log in from, on any of my accounts. |
Michael Bone
Pandemic Horde Inc. Pandemic Horde
13
|
Posted - 2015.10.07 19:42:03 -
[15] - Quote
Kronossan wrote:Tested RC2 but am getting the following login error:
The authentication token provided by the launcher is of an invalid format. Please try again or contact EVE customer support.
Edit: Both the username and password are correct and I'm not getting a character name challenge in the official launcher.
Edit 2: Figured out what went wrong by looking at the script's settings ini. The script saved my account name as all lower-case, all I did was manually add the capital letters back in.
Eve usernames aren't case sensitive. you must have done something else that fixed it - most likely the character challenge. |
|
|
|